<template>
  <div class="phaser-template" ref="injectTemplate" @click="onPhaserTemplateClick" :id="item.id">
    <slot name="common"></slot>
  </div>
</template>

<script>
export default {
  name: 'PhaserTemplate',
  props: {
    item: Object,
    pageId: {
      type: Number,
      default: -1,
    },
    popId: {
      type: Number,
      default: -1,
    },
  },
  methods: {  
    onPhaserTemplateClick(e) {
      e.stopPropagation();
    }
  }
}
</script>

<style lang="scss">
.phaser-template{
  width: inherit;
  height: inherit;
}
</style>
